{% extends 'host.html' %}
<!-- {% block style %}
<style >
   .mynav{
     margin-bottom:0!important
   }


</style>



{% endblock%} -->
{% block content%}
<header style="background:#EEEEEE; height:6rem;"> <div class="container"><h1>添加视频信息</h1></div></header><br>

<form class="form-horizontal" role="form"  action="/addtvs/{{var}}"  method="post">
  <div class="form-group">
    <label for="firstname" class="col-sm-2 control-label">名称:</label>
    <div class="col-sm-2">
      <input type="text" class="form-control" id="firstname" name="name">
    </div>
  </div>
  <div class="form-group">
    <label for="lastname" class="col-sm-2 control-label">备注:</label>
    <div class="col-sm-6">
      <textarea type="text" class="form-control" id="lastname" placeholder="请输入备注"  name="intro"></textarea>
    </div>
  </div>

 <div class="form-group">
    <label for="firstname" class="col-sm-2 control-label">教师名字:</label>
    <div class="col-sm-3">
        <div class="row">
            <div class="col-lg-6">
                <div class="input-group">
                    <div class="input-group-btn">
                        <button type="button" class="btn btn-default 
                        dropdown-toggle  drop" data-toggle="dropdown"  >下拉菜单
                            <span class="caret"></span>
                        </button>
                        <ul class="dropdown-menu">
                        {% for name in tname  %}
                            <li>
                                <a href="#" name="teacher" >{{name.name}}</a>
                            </li>
                         {% endfor %}
                        </ul>
                    </div>
                    <input type="text" class="form-control  inputs"   value=""  readonly>
                </div>
            </div>
    </div>
    </div>
    </div>

     <div class="form-group">
    <label for="firstname" class="col-sm-2 control-label" >时长:</label>
    <div class="col-sm-2">
      <input type="text" class="form-control" id="firstname" name="time">
    </div>
  </div>

  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <button  class="btn btn-primary bth-lg"  >确认添加</button>
    </div>
  </div>
</form>
{% endblock%}

{% block script %}

<script type="text/javascript" src='/static/revise.js'></script>
{% endblock %}
